package cn.lds.j368.dsbank.service.impl;

import cn.lds.j368.dsbank.domain.EmpRole;
import cn.lds.j368.dsbank.mapper.EmpRoleMapper;
import cn.lds.j368.dsbank.service.EmpRoleService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class EmpRoleServiceImpl implements EmpRoleService {

    @Autowired
    private EmpRoleMapper empRoleMapper;

    @Override
    public int addEmpRole(EmpRole empRole) {
        return empRoleMapper.insert(empRole);
    }
}
